package com.pqc.tbk.entity;

/**
 * 存放常变量的接口
 * 
 * @author long, create on 2012-8-3 上午1:37:29
 * 
 */
public interface ConstProp {

	/**
	 * 申请领款的状态
	 * 
	 */
	public class ConfirmMoneyInout {
		public static final String TO_APPLY = "未审核";
		public static final String HAVE_APPLY = "已审核";
		public static final String HAVE_PAY = "已付款";
		public static final String NOT_PASS = "未通过";
	}

	/**
	 * ajax返回的操作结果状态
	 * 
	 */
	public class Operation {
		public static final String SUCCESS = "success";
		public static final String FAILURE = "failure";
		public static final String PART = "part";
		public static final String EXIST = "exist";
		public static final String OVER = "over";
	}

	/**
	 * 钱的状态
	 * 
	 */
	public class MoneyInout {
		public static final String IN = "返利";
		public static final String PROMOTE = "推广";
		public static final String OUT = "提现";
	}

	/**
	 * 手机绑定的属性
	 */
	public class BindTel {
		public static final String COOKIE_NAME = "vali_code";
		public static final int MAX_AGE = 3 * 60;
		public static final String APP_KEY = "BINDTEL123";
		public static final int MAX_CNT_AGE = 1 * 60 * 60;
		public static final String MAX_CNT_KEY = "max_cnt";
		public static final int MAX_CNT_VALUE = 3;
	}

	/**
	 * 用户状态的位置
	 * 
	 */
	public class UserStatePos {
		public static final int USER = 0;
		public static final int EMAIL = 1;
		public static final int ALIPAY = 2;
		public static final int TEL = 3;
	}

	/**
	 * 发送的给用户的文件的内容
	 * 
	 */
	public class SendContent {
		public static final String SEND_BIND_TEL_CODE = "您的手机绑定验证码为:";
		public static final String COMMON_END = "。如非本人操作,请及时修改密码以防被盗(工作人员不会向您索取,请勿泄露)";
	}

	/**
	 * 
	 * 推广者的权限内的数量
	 */
	public class Promote {
		public static final int FIRST_AMOUNT = 300;
		public static final int SECOND_AMOUNT = 400;
		public static final int THIRD_AMOUNT = 500;
		public static final int UNLIMITED_AMOUNT = 100000;
		public static final int INVALID_LEVEL = 5;

		public static final double BUYER_RETURN_RATE = 60.0;
		public static final double[] LAST_RATE = { 0, 10.0, 5.0, 2.5 };
	}

}
